Repository navigation
Adopt quire-rs 0.65.0; read engine symbol, side and filter in impact output - #300
Merged
Merged
Conversation
…output Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…iew fix) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves quire-rs
=0.64.1to=0.65.0and reads the new engine fields inquire impactinstead of guessing from source text (PLAT-1901, PLAT-1902).Dependency version move
v0.64.1=67adafff42bc82278ea5d2546631520fe8ceb159v0.65.0=3a10a2b14920e66b237c52c7751c15cc972b3a32850129fa).git diff --name-status v0.64.1 v0.65.0touched: CHANGELOG.md, Cargo.{toml,lock}, src/{assurance,impact,lib,traceability,validate_document}.rs, src/corpus/{mod,relation_report,required_relations}.rs, src/semantic/{clauses,record}.rs, schemas/output/semantic-v1.schema.json, FR-058/071/081/084/099 specs, FRR-001/002, mapping and record-section fixtures, and tests (including new tests/it/required_relations_to_where.rs).Public items that changed:
ImpactFinding::{UnresolvedId, UnavailableSpecification, NonBindingMarker}gainsymbolandside(FR-099-AC-7).DependencyTestReasongainsfilter(FR-099-AC-10).RequiredRelationgainsto_selector; relation report addsToRejectedEntry(#815, FR-081-AC-23, FR-058-AC-49/50, FR-084).filament, notquire(languagepattern in semantic-v1 schema,clause_language_class, semantic-schema dep).References found in quire-cli
ImpactFinding: src/commands/impact_tags.rs only (three exhaustive matches updated).DependencyTestReason: no direct use; the CLI consumed the serialized JSON and derivedfilterfromtest_symbolinimpact_dependency::add_filters(deleted; human output and JSON now use the engine'sfilter).RequiredRelation: onlyDeclarationKind::RequiredRelationin coverage.rs and relations.rs, unaffected.to_selector/ToRejectedEntry: no references.```quirefences,"quire"language values or semantic-v1 references in src, tests, fixtures or spec; nothing to migrate and no tolerance layer added.Code changes
symbolandsidefrom the three variants. Deletedlocate_marker,places_for_id,head_symbols,block_start,id_lines,names_id,place_at,with_place,Place.tag_checkno longer takes the head snapshot. Entries carryside;source_lineis removed;lineis the engine's line and appears for non-binding attributes only. The dedup comment now holds: only exact repeats collapse, base and head findings differ byside. Human output showsAffected changed symbol: X (base|head).filterused;add_filtersdeleted.Tests
Tests were updated for the engine fields first (the old code no longer compiled against 0.65.0, so the failing state is the compile break rather than a runtime failure); then code changed.
cli_impact(25 tests): all pass. Newit_impact_tag_check_names_the_base_side_for_a_removed_symbol(removed symbol, finding namesbase);..._shows_the_engines_symbol_side_and_line_for_each_revisionreplaces the base-line guessing test; others assertsideand nosource_line.--test-threads=4.Not run: other test targets (focused only).
Criteria touched: FR-049-AC-5, FR-049-AC-6 (existing
#[implements]/#[trace]tags kept); engine criteria FR-099-AC-7/10.🤖 Generated with Claude Code